{include file="file:$theme_global/_header.tpl"}

<div id="breadcrumb">
	<a href="/">home</a> &gt; <a href="/users">members</a> &gt; <a href="/profile/{$user.username}">{$user.username}</a>
</div>

<div id="user_info">
	{if $mca ne "default-user-profile"}
	<h1><a href="/profile/{$nav_username}" title="{$user.username}">{$user.username}</a></h1>
	{else}
	<h1>{$user.username}</h1>
	{/if}
	{include file="file:$theme_global/_user_image.tpl"}	
	<div class="edit">
		<ul>
			{if $loggedInUsername eq $user.username}
				<li><a href="/user/edit" title="Edit Account" class="more">Edit</a></li>
			{/if}
			{include file="file:$theme_global/_user_nav.tpl"}			
		</ul>
	</div>		
		<h3><!-- {if $loggedInUsername eq $user.username}My{else}{$user.username}'s{/if}  -->Stats</h3>
			<ul id="stats">			
				<li>{$user.full_name}</li>			
				{if $user.gender ne "unspecified"}<li>{$user.gender|capitalize}</li>{/if}
				{if isset($user.age)}
					<li>{$user.age} years old</li>
					<li>{$user.sign|capitalize}</li>
				{/if}
				{if isset($user.location)}<li>{$user.location|escape}</li>{/if}
			</ul>		
	</div>
</div>
<div id="profile">
		<div class="content">
			<div class="title">
				<h2>{if $loggedInUsername eq $user.username}<a href="/user/edit" title="Edit Statement" class="more button">Edit</a>{/if} {if $loggedInUsername eq $user.username}My{else}{$user.username}'s{/if} Statement</h2>
			</div>
			<div class="inner">
				{if $user.aboutme ne ""} 			
				<p class="alt">{$user.aboutme}</p>
				{else}
				<p class="alt">Nothing here.</p>
				{/if}
			</div>
		</div>
</div>
{include file="file:$theme_global/_footer.tpl"}
